package cn.itcast.es.repository;

import cn.itcast.es.pojo.Item;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @author 虎哥
 */
public interface ItemRepository extends ElasticsearchRepository<Item, Long> {

    List<Item> queryByPriceBetween(Double begin, Double end);
}
